class FriendSearch {
  final String id;
  final String name;
  final bool isFriend;

  FriendSearch({required this.id, required this.name, required this.isFriend});

  factory FriendSearch.fromJson(Map<String, dynamic> jsonobj) {
    return FriendSearch(
        id: jsonobj['id'],
        name: jsonobj['name'],
        isFriend: jsonobj['is_friend']);
  }
}
